package com.zzgele.qmzb.api.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.zzgele.qmzb.api.core.AbstractService;
import com.zzgele.qmzb.api.dao.TicketSwapLogMapper;
import com.zzgele.qmzb.api.model.TicketSwapLog;
import com.zzgele.qmzb.api.service.TicketSwapLogService;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;

@Service(interfaceClass = TicketSwapLogService.class,proxy="jdk")
@Component
@Transactional
public class TicketSwapLogServiceImpl extends AbstractService<TicketSwapLog> implements TicketSwapLogService {

    @Resource
    private TicketSwapLogMapper ticketSwapLogMapper;

    public List<HashMap> list( Long uid){
        return ticketSwapLogMapper.list(uid);
    }

}
